package com.example.yunbiji0314.service;


import com.example.yunbiji0314.pojo.Category;
import com.example.yunbiji0314.util.PageUtil;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CategoryService {

    PageInfo<Category> findByUserId(PageUtil pageUtil);

    int add(Category category);

    int delete(Integer id);

    Category findById(Integer id);

    List<Category> selectleixingId(Integer id);

    List<Category> selectAll();
}
